import java.util.AbstractCollection;
import java.util.ArrayList;
import java.util.LinkedList;

public class Party {
	private Player player; 
	private ArrayList<PartyMember> party = new ArrayList<PartyMember>();
	
	public Party(Player player,PartyMember pm1, PartyMember pm2, PartyMember pm3, PartyMember pm4)
	{

		this.player = player;
		this.party.add(pm1);
		this.party.add(pm2);
		this.party.add(pm3);
		this.party.add(pm4);
	}

	public Player getPlayer() {
		return player;
	}

	public void setPlayer(Player player) {
		this.player = player;
	}

	public ArrayList<PartyMember> getParty() {
		return party;
	}

	public void setParty(ArrayList<PartyMember> party) {
		this.party = party;
	}
	public static void main(String[]args)
	{
		Player p = new Farmer("sdf");
		PartyMember pm1 = new PartyMember("d");
		PartyMember pm2 = new PartyMember("d2");
		PartyMember pm3 = new PartyMember("2d");
		PartyMember pm4 = new PartyMember("d3");

		Party f = new Party(p, pm1, pm2, pm3, pm4);
	}
}
